/* 
 * File:   filters.h
 * Author: gustavo
 *
 * Created on July 16, 2011, 3:49 AM
 */

#ifndef FILTERS_H
#define	FILTERS_H

#include "../matrix.h"

#ifdef	__cplusplus
extern "C" {
#endif

	Matrix matrix_get_filter(char * name, int dim, char or, int comp);

	Matrix matrix_filter_farid_simoncelli(int dim, char or, int comp);
	Matrix matrix_filter_sobel(int dim, char or, int comp);
	Matrix matrix_filter_scharr(int dim, char or, int comp);

	Matrix * matrix_create_filter_gaussian(int size, double s);
	Matrix * matrix_create_filter_gaussian_teta(int size, double sx, double sy, double teta);
	
	Matrix * filter_new_gaussian(int rows, int columns, double sx, double sy, double teta);

#ifdef	__cplusplus
}
#endif

#endif	/* FILTERS_H */

